package com.xsdl.proxy.dynamic;

import java.util.stream.IntStream;

public class UserServiceImpl implements UserService {

    @Override
    public void test() {
        IntStream.rangeClosed(1, 100).forEach(i -> {
            if (i % 10 == 0) {
                try {
                    Thread.sleep(100);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
        });
    }

}
